package com.itheima.pinda.entity.agency;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itheima.pinda.entity.base.Entity;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
    * 车队表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pd_fleet")
public class PdFleet extends Entity implements Serializable {
    /**
     * 车队名称
     */
    @TableField(value = "`name`")
    private String name;

    @TableField(value = "fleet_number")
    private String fleetNumber;

    /**
     * 所属机构
     */
    @TableField(value = "agency_id")
    private String agencyId;

    /**
     * 负责人
     */
    @TableField(value = "manager")
    private String manager;

    /**
     * 状态 0：禁用 1：正常
     */
    @TableField(value = "`status`")
    private Byte status;
}